<?php

//define('PRODUCTION_ROOT', dirname(dirname(dirname(dirname(__FILE__)))));

//应用配置
//define('APP_NAME', 'Resume'); // 配置是哪个实例
//define('APP_PATH', PRODUCTION_ROOT . '/App/' . APP_NAME); // 配置实例的APP路径

$myResumeConfig = include(PRODUCTION_ROOT.'/App/Resume/Config/MyResume.php');
$showhide = $myResumeConfig['areaInfo'];
//require_once PRODUCTION_ROOT.'/Db/Resume.php';
//require_once PRODUCTION_ROOT.'/Libs/DBHelper.php';

$uid = (int)$_GET['uid'];
if($uid <= 0){
    die ("invalid access!");
}

//$con = mysql_connect("localhost", "root","HI!#%&(ALL2009");
//if (!$con)
  //{
  //die('Could not connect: ' . mysql_error());
 // }
//$db_selected = mysql_select_db("resume",$con);
$db_resume = Db_Resume::instance();
$sql = "SELECT * from resume_areapos WHERE uid=".$uid;
$row = $db_resule->getRow($sql);
//$result = mysql_query($sql,$con);
//$row = mysql_fetch_array($result);
if(empty($row)){
	echo "111";exit;
}
